import ttkbootstrap as ttk
from ui.app import SearchApp

def main():
    # 使用ttkbootstrap创建根窗口，应用主题
    root = ttk.Window(themename="yeti")
    root.title("知识点查询工具")
    app = SearchApp(root)
    root.mainloop()

if __name__ == "__main__":
    main()
